<template>
    <view class="content">
        <List :data="listData">
            <template v-slot="{ row }">
                <u-cell :title="row.title"></u-cell>
            </template>
        </List>
    </view>
</template>

<script setup>
import List from '@/components/list/index.vue'
const listData = ref([
    { title: '标题1' },
    { title: '标题2' },
    { title: '标题3' },
    { title: '标题4' }
])
onMounted(() => {
})
</script>

<style scoped>
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
</style>
